﻿using SqlSugar;

namespace WebApplication11.Models
{
    [SugarTable("department")]
    public class department {
        [SugarColumn(ColumnName = "name")]
        public string Name { get; set; }
            
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        
        [SugarColumn(ColumnName = "leader")]
        public string Leader { get; set; }
    }
}